package com.veo.controller;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.veo.entity.CommonResult;

public class CustomerBlockHandle {

    //必须为静态方法否则报错
    public static CommonResult handleException(BlockException exception){
        return new CommonResult(4444,"资源不可用！handleException1");
    }
    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(4444,"资源不可用！handleException2");
    }
}
